#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Achievement.nanopb.h"
#define MAX_ACHIEVEMENT_ACHIEVEMENT_NUM 256

class AchievementAchievementDesc : public NFIDescTemplate<AchievementAchievementDesc, E_AchievementAchievement, EOT_CONST_ACHIEVEMENT_ACHIEVEMENT_DESC_ID, MAX_ACHIEVEMENT_ACHIEVEMENT_NUM>
{
public:
	AchievementAchievementDesc();
	virtual ~AchievementAchievementDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
